import { createApp } from 'vue'
import './style.css'
import App from './App.vue';

//导入路由器
import router from './router'

//导入pinia
import {createPinia} from 'pinia'
//导入数据永久化插件
let pinia=createPinia()

//导入element组件库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

createApp(App)
    .use(router)
    .use(ElementPlus)
    .use(pinia)
    .mount('#app')
